package com.example.demo.api;

/**
 * 配置企业微信回调的一些参数.
 * @author 奕仁
 */
public enum QywechatCallback {
    TEST("EAP测试", "wwc1cc44f2585ec46d", "y6c9O6Hjbwc3Iy54I", "iTyWFSqHuMzLXot4AygeoH1ZKoGCgVuQRtV2M3xiL0Q");

    /**
     * 应用名.
     */
    private String name;

    /**
     * 企业ID.
     */
    private String corpid;

    /**
     * 回调url配置的token.
     */
    private String token;

    /**
     * 随机加密串.
     */
    private String encodingAESKey;


    QywechatCallback(final String name, final String corpid, final String token, final String encodingAESKey) {
        this.name = name;
        this.corpid = corpid;
        this.encodingAESKey = encodingAESKey;
        this.token = token;
    }

    public String getCorpid() {
        return corpid;
    }

    public String getName() {
        return name;
    }
    public String getToken() {
        return token;
    }

    public String getEncodingAESKey() {
        return encodingAESKey;
    }

}
